package com.nhim.cms.admin.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
import com.google.gwt.place.shared.Prefix;

public class ContentTypePlace extends Place {
	private String token;

	public ContentTypePlace(String token) {
		this.token = token;
	}

	public String getToken() {
		return this.token;
	}
	 @Prefix("ContentType")
	public static class Tokenizer implements
			PlaceTokenizer<ContentTypePlace> {

		public String getToken(ContentTypePlace place) {
			return place.getToken();
		}

		public ContentTypePlace getPlace(String token) {
			return new ContentTypePlace(token);
		}
	}

}